from abc import ABC, abstractmethod
from typing import Dict, Any

class BaseParser(ABC):
    @abstractmethod
    def parse(self, raw_data: bytes) -> Dict[str, Any]:
        pass
    
    @abstractmethod
    def get_metadata(self) -> Dict[str, str]:
        pass